<div className={this.state.isHidden ? "prompt-hidden" : ""}>
    <div className={data.style}>
        <div className={data.iconStyle}></div>
        <div className="msgStyle">{data.msg}</div>
        <div className="prompt-close-btn" onClick={this.close}></div>
    </div>
</div>